package com.tjise.eduservice.entity.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: tjise_parent
 * @description: 课程分类的实体类
 * @author: 郑朝文
 * @create: 2021-06-23 10:36
 **/
@Data
@ApiModel(value="ExcelSubjectData对象", description="分类")
public class ExcelSubjectData implements Serializable {
    private static final long serialVersionUID = 123123124334564L;

    // 一级分类
    @ApiModelProperty(value = "一级分类")
    @ExcelProperty(index = 0)
    private String oneSubjectName;

    // 二级分类
    @ApiModelProperty(value = "二级分类")
    @ExcelProperty(index = 1)
    private String twoSubjectName;
}


